package com.ruoyi.degree.service.Impl;

import java.util.Collections;
import java.util.List;

import com.ruoyi.degree.domain.BizReserveExport;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.degree.mapper.BizReserveMapper;
import com.ruoyi.degree.domain.BizReserve;
import com.ruoyi.degree.service.IBizReserveService;

/**
 * 预约管理Service业务层处理
 *
 * @author ruoyi
 * @date 2025-10-27
 */
@Service
public class BizReserveServiceImpl implements IBizReserveService
{
    @Autowired
    private BizReserveMapper bizReserveMapper;

    /**
     * 查询预约管理
     *
     * @param id 预约管理主键
     * @return 预约管理
     */
    @Override
    public BizReserve selectBizReserveById(Long id)
    {
        return bizReserveMapper.selectBizReserveById(id);
    }

    /**
     * 查询预约管理列表
     *
     * @param bizReserve 预约管理
     * @return 预约管理
     */
    @Override
    public List<BizReserve> selectBizReserveList(BizReserve bizReserve)
    {
        return bizReserveMapper.selectBizReserveList(bizReserve);
    }

    /**
     * 新增预约管理
     *
     * @param bizReserve 预约管理
     * @return 结果
     */
    @Override
    public int insertBizReserve(BizReserve bizReserve)
    {
        return bizReserveMapper.insertBizReserve(bizReserve);
    }

    /**
     * 修改预约管理
     *
     * @param bizReserve 预约管理
     * @return 结果
     */
    @Override
    public int updateBizReserve(BizReserve bizReserve)
    {
        return bizReserveMapper.updateBizReserve(bizReserve);
    }

    /**
     * 批量删除预约管理
     *
     * @param ids 需要删除的预约管理主键
     * @return 结果
     */
    @Override
    public int deleteBizReserveByIds(Long[] ids)
    {
        return bizReserveMapper.deleteBizReserveByIds(ids);
    }

    /**
     * 删除预约管理信息
     *
     * @param id 预约管理主键
     * @return 结果
     */
    @Override
    public int deleteBizReserveById(Long id)
    {
        return bizReserveMapper.deleteBizReserveById(id);
    }

    @Override
    public List<BizReserveExport> selectBizReserveExportList(BizReserveExport bizReserveExport) {
        return bizReserveMapper.selectBizReserveExportList(bizReserveExport);
    }
}
